#ifndef __USART_H
#define	__USART_H

#include <stdio.h>
#include "gpio.h"
#include "usart.h"

// send data to usart
void USART_SendData(UART_HandleTypeDef* USARTx, uint16_t Data);
// printf format to usart
void USART_printf ( UART_HandleTypeDef * USARTx, char * Data, ... );
// transform data
static char * itoa( int value, char *string, int radix );

#endif /* __USART_H */

